package com.jet.member.service;

import com.jet.member.domain.dto.MemberRechargeOrderDto;
import com.jet.member.domain.entity.MemberRechargeOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jet.member.domain.query.MemberRechargeOrderSummaryQuery;

import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2025-03-02
 */
public interface IMemberRechargeOrderService extends IService<MemberRechargeOrder> {

    void create(long merchantNo, long storeNo, MemberRechargeOrderDto dto);

    void refund(long merchantNo, String orderNo, LocalDateTime refundTime);

    List<MemberRechargeOrder> summaryList(MemberRechargeOrderSummaryQuery query);
}
